package com.wxtt.android.config;

import com.bumptech.glide.load.engine.cache.DiskCache;

/**
 * 说明：常量配置
 * <p/>
 * 作者：fanly
 * <p/>
 * 时间：2015/12/28 14:32
 * <p/>
 * 版本：verson 1.0
 */
public class ConstantConfig {
    //BMOB  ID
    public static final String BMOB_APPID = "0343bc4510c2171af536d500a5280479";
    //微信精选
    public static final String WXTT_APPID = "2974d44438ba663d661018272fd94475";
    //微信精选
    public static final String JOKE_APPID = "3d56b335be9d5b282a5a84ff7da26d91";

    //微信  AppID
    public static final String WX_APPID = "wxcf01208b550f6e04";
    //微博  AppID
    public static final String WEIBO_APPID = "4256091426";
    //优酷  AppKey
    public static final String YK_APP_KEY = "c4c8b2e7cca8a3fd";

    public interface Glide{
        // 设置缓存大小
        int MAX_SIZE = DiskCache.Factory.DEFAULT_DISK_CACHE_SIZE;
        // 设置缓存目录
        String CACHE_DIR = DiskCache.Factory.DEFAULT_DISK_CACHE_DIR;
        int TYPE_GLIDE_CACHE_DIR = 0x1000;
        int TYPE_CUSTOM_CACHE_DIR = 0x1001;
        // 缓存路径 （BaseGlideModule）
        int TYPE_CACHE_DIR = TYPE_GLIDE_CACHE_DIR;
    }

    public interface REQUEST_METHOD{
        String QUERY = "http://v.juhe.cn/weixin/query";
        String VIDEO = "https://openapi.youku.com/v2/searches/video/by_keyword.json";
        String JOKE = "http://japi.juhe.cn/joke/content/text.from";
        String WEIBO_USER_INFO = "https://api.weibo.com/2/users/show.json";
        String WEIBO_LOGIN_OUT = "https://api.weibo.com/oauth2/revokeoauth2";
    }
    public interface REALM_NAME{
        String FAVOURITE = "favourite.realm";
    }
}
